package top.infopub.mgr.mkt.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.model.mkt.BidBondApply;
import top.infopub.model.mkt.ProjectInfo;

import java.util.Date;

/**
 * @Author Warking
 * @Date 2021/5/2 20:37
 * @Version 1.0
 */
@Repository
public interface BidSecurityDtoDao {
    ProjectInfo findByProCode(@Param("proCode") String proCode);

    BidBondApply bidBondApplyByProCode(@Param("proCode")String proCode,@Param("bondType")String bondType);

    void updateBidBondApply(@Param("reviewMemo")String reviewMemo,@Param("proCode")String proCode,@Param("bondType")  String bondType);

    void updateBidInfo(@Param("bidDate")Date bidDate, @Param("proCode")String proCode);

    String isFlag(@Param("proCode")String proCode);

    BidBondApply selectByProCode(@Param("proCode") String proCode,@Param("bondType")  String bondType);
}
